package com.mq.delay;

import java.io.Serializable;

/**
 * @author ytj
 * @date 2024/1/16
 */
public class Demo8Message implements Serializable {
    /**
     * 队列
     * */
    public static final String QUEUE = "demo8_queue";
    /**
     * 延迟队列
     * */
    public static final String DELAY_QUEUE = "demo8_delay_queue";
    /**
     * 交换机
     * */
    public static final String EXCHANGE = "demo8_exchange";
    /**
     * 路由键
     * */
    public static final String ROUTINGKEY = "demo8_routingkey";
    /**
     * 延迟路由键
     * */
    public static final String DELAY_ROUTINGKEY = "demo8_delay_routingkey";

    private Integer id;

    public Demo8Message(Integer id) {
        this.id = id;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }
}
